import text from "./inputs/InputTextField.vue"
import label from "./inputs/InputLabelField.vue"
import mtext from "./inputs/InputMTextField.vue"

const controls = {
    text, label, mtext,
    "default": text
}

export default function (meta) {
    let control = meta.control || "text";
    return controls[control] || controls[text];
}